﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="admin_AfficheInformSetting_Index" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Index</title>
    <link rel="Stylesheet" type="text/css" href="../../Styles/right_style.css" />
    <script type="text/javascript" src="../../Scripts/jquery.ui/js/jquery.js"></script>
    <script type="text/javascript" src="../../js/AfficheInformSetting.js"></script>
    <style type="text/css">
    <!--
html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
-->
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="hdm_header">
        <div class="tb1_on">
            <h2 class="h2_icon">
                公告通知管理</h2>
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="hdm_footer">
        <div class="fabu_gg_title">
            发布新公告通知</div>
        <div class="new_ggtz">
            <asp:ImageButton ID="Button1" runat="server" Height="24px" OnClick="Button1_Click"
                ImageUrl="~/images/new_gg_button.gif" />
        </div>
        <div class="fabu_gg_title">
            管理公告通知</div>
        <asp:Repeater ID="DataList1" runat="server" OnItemDataBound="DataList1_ItemDataBound">
            <HeaderTemplate>
                <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="dataList">
                    <tr class="jsmail_bgcolor">
                        <td>
                            <asp:Label ID="Label2" runat="server" Font-Bold="True" Text="发送人"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label3" runat="server" Font-Bold="True" Text="发送范围"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label4" runat="server" Font-Bold="True" Text="标题"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label5" runat="server" Font-Bold="True" Text="创建时间"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label6" runat="server" Font-Bold="True" Text="生效日期"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label7" runat="server" Font-Bold="True" Text="终止日期"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label8" runat="server" Font-Bold="True" Text="状态"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label9" runat="server" Font-Bold="True" Text="操作"></asp:Label>
                        </td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:Label ID="LblSendUser" runat="server" Text='<%# Eval("AfficheInformSendUser") %>'></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="LblSendBound" runat="server" Text='<%# Eval("AfficheInformOpenBoundSnames") %>'></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="LblTitle" runat="server" Text='<%# Eval("AfficheInformTitle") %>'></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="LblCreateTime" runat="server" Text='<%# Eval("AfficheInformCreateTime") %>'></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="LblStartDate" runat="server" Text='<%# Eval("AfficheInformStartDate") %>'></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="LblEndDate" runat="server" Text='<%# Eval("AfficheInformEndDate") %>'></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="LblState" runat="server" Text='<%# Eval("AfficheInformState") %>'></asp:Label>
                    </td>
                    <td>
                        <asp:LinkButton ID="LbtEdit" ai_id='<%# Eval("AfficheInformId") %>' runat="server"
                            OnClick="LbtEdit_Click">修改</asp:LinkButton>
                        <asp:LinkButton ID="LbtDel" ai_id='<%# Eval("AfficheInformId") %>' runat="server"
                            OnClientClick="return confirm('您确定删除此公告吗？')" OnClick="LbtDel_Click">删除</asp:LinkButton>
                        <asp:LinkButton ID="LbtShengXiao" ai_id='<%# Eval("AfficheInformId") %>' runat="server"
                            OnClick="LbtShengXiao_Click">恢复生效</asp:LinkButton>
                        <asp:LinkButton ID="LbtZhongZhi" ai_id='<%# Eval("AfficheInformId") %>' runat="server"
                            OnClick="LbtZhongZhi_Click">立即终止</asp:LinkButton>
                        <asp:LinkButton ID="LbtChaYue" ai_id='<%# Eval("AfficheInformId") %>' runat="server"
                            OnClick="LbtChaYue_Click">查阅情况</asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
